/**
 * 代码库页面的面包屑
 */

import React from 'react';
import PathBreadcrumb from 'components/pathBreadcrumb';
import intl from '../../locale';

export default class ForceTopNav extends React.Component {
  render() {
    return (
      <PathBreadcrumb
        startBreads={[
          {
            link: '/',
            text: `${intl.get({
              id: 'code-assets.src.utils.locale.CodeBase',
              defaultMessage: '代码库',
            })}`,
          },
        ]}
        {...this.props}
      />
    );
  }
}
